package org.erp.store.strategy.hook;

import org.erp.store.domain.dto.BatchDeviceInventoryDto;
import org.erp.store.domain.entity.DeviceInventory;

import java.util.List;
import java.util.Map;
/**
 * 库存状态更新后处理钩子
 */
public interface AfterPersistHook {
    void accept(BatchDeviceInventoryDto dto, List<DeviceInventory> updateList, Map<String, Integer> originalStateMap);
}
